![]() |
MPSetExceptionHandler |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Sets an exception handler for a task.
OSStatus MPSetExceptionHandler ( MPTaskID task, MPQueueID exceptionQ );
The task to associate with the exception handler.
The message queue to which an exception message will be sent.
A result code.
When an exception handler is set and an exception occurs, the task is suspended and a message is sent to the message queue specified by exceptionQ. The message contains the following information:
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)